home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
dlaic1.z
/
dlaic1
Wrap
Text File
|
1996-03-14
|
3KB
|
133 lines
DDDDLLLLAAAAIIIICCCC1111((((3333FFFF)))) DDDDLLLLAAAAIIIICCCC1111((((3333FFFF))))
NNNNAAAAMMMMEEEE
DLAIC1 - applie one step of incremental condition estimation in its
simplest version
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
SUBROUTINE DLAIC1( JOB, J, X, SEST, W, GAMMA, SESTPR, S, C )
INTEGER J, JOB
DOUBLE PRECISION C, GAMMA, S, SEST, SESTPR
DOUBLE PRECISION W( J ), X( J )
PPPPUUUURRRRPPPPOOOOSSSSEEEE
DLAIC1 applies one step of incremental condition estimation in its
simplest version:
Let x, twonorm(x) = 1, be an approximate singular vector of an j-by-j
lower triangular matrix L, such that
twonorm(L*x) = sest
Then DLAIC1 computes sestpr, s, c such that
the vector
[ s*x ]
xhat = [ c ]
is an approximate singular vector of
[ L 0 ]
Lhat = [ w' gamma ]
in the sense that
twonorm(Lhat*xhat) = sestpr.
Depending on JOB, an estimate for the largest or smallest singular value
is computed.
Note that [s c]' and sestpr**2 is an eigenpair of the system
diag(sest*sest, 0) + [alpha gamma] * [ alpha ]
[ gamma ]
where alpha = x'*w.
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
JOB (input) INTEGER
= 1: an estimate for the largest singular value is computed.
= 2: an estimate for the smallest singular value is computed.
J (input) INTEGER
Length of X and W
X (input) DOUBLE PRECISION array, dimension (J)
The j-vector x.
PPPPaaaaggggeeee 1111
DDDDLLLLAAAAIIIICCCC1111((((3333FFFF)))) DDDDLLLLAAAAIIIICCCC1111((((3333FFFF))))
SEST (input) DOUBLE PRECISION
Estimated singular value of j by j matrix L
W (input) DOUBLE PRECISION array, dimension (J)
The j-vector w.
GAMMA (input) DOUBLE PRECISION
The diagonal element gamma.
SEDTPR (output) DOUBLE PRECISION
Estimated singular value of (j+1) by (j+1) matrix Lhat.
S (output) DOUBLE PRECISION
Sine needed in forming xhat.
C (output) DOUBLE PRECISION
Cosine needed in forming xhat.
PPPPaaaaggggeeee 2222